package com.ruoyi.web.cloud_service;

import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.core.domain.entity.QmsQuestion;
import com.ruoyi.common.core.page.TableDataInfo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;
import java.util.Map;

@FeignClient(name = "questionService")
public interface QuetionClient {
    @PostMapping("/quetionService/question")
    public AjaxResult add(@RequestBody QmsQuestion qmsQuestion);
    @GetMapping("/quetionService/Quetype/listType")
    public List<Map<String,Object>> listType();

}
